package com.fenquen.dfs.router.rocksdb;

import org.rocksdb.ColumnFamilyHandle;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.*;

@Component
public class RocksDBProp {
    @Value("${rocksdb.home}")
    public String home;

    final List<String> tableNameList =
            Collections.unmodifiableList(Arrays.asList("FILE_RECORD", "STORAGE_NODE"));


    Map<String, ColumnFamilyHandle> tableName_columnFamilyHandle = new HashMap<>();


}
